package com.dy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dy.common.annotation.Excel;
import com.dy.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 告警消息详情对象 fresh_warning_msg_type_detail
 *
 * @author ruoyi
 * @date 2022-09-15
 */
public class FreshWarningMsgTypeDetail extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 告警消息类型 */
    @Excel(name = "告警消息类型")
    private String warningType;

    /** 机构id */
    @Excel(name = "机构id")
    private Long medicalId;

    /** 告警内容 */
    @Excel(name = "告警内容")
    private String warningMsg;

    /***
     * 告警类型 1、告警、2、恢复
     */
    private Integer gjType;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String code;

    private Long deptId;

    private String deptName;

    private String name;

    private List<Long> medicalIdList;

    private Integer warningLevel;

    /**
     * 运行状态，1正常，0 待机
     */
    private String runningStatus;


    public String getRunningStatus() {
        return runningStatus;
    }

    public void setRunningStatus(String runningStatus) {
        this.runningStatus = runningStatus;
    }

    public Integer getGjType() {
        return gjType;
    }

    public void setGjType(Integer gjType) {
        this.gjType = gjType;
    }

    public List<Long> getMedicalIdList() {
        return medicalIdList;
    }

    public void setMedicalIdList(List<Long> medicalIdList) {
        this.medicalIdList = medicalIdList;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWarningType(String warningType)
    {
        this.warningType = warningType;
    }

    public String getWarningType()
    {
        return warningType;
    }
    public void setMedicalId(Long medicalId)
    {
        this.medicalId = medicalId;
    }

    public Long getMedicalId()
    {
        return medicalId;
    }
    public void setWarningMsg(String warningMsg)
    {
        this.warningMsg = warningMsg;
    }

    public String getWarningMsg()
    {
        return warningMsg;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getName() {
        return name;
    }

    public Integer getWarningLevel() {
        return warningLevel;
    }

    public void setWarningLevel(Integer warningLevel) {
        this.warningLevel = warningLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warningType", getWarningType())
            .append("medicalId", getMedicalId())
            .append("warningMsg", getWarningMsg())
            .append("createTime", getCreateTime())
            .append("code", getCode())
            .toString();
    }
}
